<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Editing Pc</title>
            <link rel="stylesheet" type="text/css" href="/control/faces/jsfcrud.css" /><%@ include file="/WEB-INF/jspf/AjaxScripts.jspf" %><script type="text/javascript" src="/control/faces/jsfcrud.js"></script>
        </head>
        <body>
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h1>Editing Pc</h1>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="Id:"/>
                    <h:outputText value="#{pc.pc.id}" title="Id" />
                    <h:outputText value="NombreAsignado:"/>
                    <h:inputText id="nombreAsignado" value="#{pc.pc.nombreAsignado}" title="NombreAsignado" required="true" requiredMessage="The nombreAsignado field is required." />
                    <h:outputText value="FechaInstalacion (MM/dd/yyyy):"/>
                    <h:inputText id="fechaInstalacion" value="#{pc.pc.fechaInstalacion}" title="FechaInstalacion" required="true" requiredMessage="The fechaInstalacion field is required." >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputText value="IdEquipo:"/>
                    <h:inputText id="idEquipo" value="#{pc.pc.idEquipo}" title="IdEquipo" required="true" requiredMessage="The idEquipo field is required." />
                    <h:outputText value="IdUser:"/>
                    <h:inputText id="idUser" value="#{pc.pc.idUser}" title="IdUser" required="true" requiredMessage="The idUser field is required." />
                    <h:outputText value="CodUbicacion:"/>
                    <h:inputText id="codUbicacion" value="#{pc.pc.codUbicacion}" title="CodUbicacion" required="true" requiredMessage="The codUbicacion field is required." />
                </h:panelGrid>
                <br />
                <h:commandLink action="#{pc.edit}" value="Save">
                    <f:param name="jsfcrud.currentPc" value="#{jsfcrud_class['jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][pc.pc][pc.converter].jsfcrud_invoke}"/>
                </h:commandLink>
                <br />
                <br />
                <h:commandLink action="#{pc.detailSetup}" value="Mostrar" immediate="true">
                    <f:param name="jsfcrud.currentPc" value="#{jsfcrud_class['jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][pc.pc][pc.converter].jsfcrud_invoke}"/>
                </h:commandLink>
                <br />
                <h:commandLink action="#{pc.listSetup}" value="Mostrar Todos Pc Items" immediate="true"/>
                <br />
                <h:commandLink value="Principal" action="welcome" immediate="true" />
            </h:form>
        </body>
    </html>
</f:view>
